package com.example.ormsqlsplicingframe1.utlis;

import com.example.ormsqlsplicingframe1.proxy.EntityProxyService;
import com.example.ormsqlsplicingframe1.proxy.RouteSession;

public class ProxySessionUtils {

    private static  RouteSession routeSession;

    private static EntityProxyService entityProxyService;

    public ProxySessionUtils(RouteSession routeSession) {
        this.routeSession = routeSession;
        this.entityProxyService = EntityProxyService.newInstance();
    }

    public static RouteSession route(){
        return routeSession;
    }

    public static EntityProxyService getEntityProxyService() {
        return entityProxyService;
    }
}
